import 'package:flutter/material.dart';
import 'package:moose_app/core/utils/navigate_util.dart';
import 'package:moose_app/ui/screens/message/message_screen.dart';
import 'package:moose_app/ui/screens/setting/setting_screen.dart';
import 'package:moose_app/ui/widgets/icon_button.dart';

import 'mime_body.dart';

/// 我的
class ATHMimeScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text("我的"), centerTitle: false, actions: <Widget>[
        ATHIconButton(
          iconPath: 'assets/icons/icon_notification.svg',
          press: () {
            ATHNavigator.pushFromRight(context, ATHMessageScreen.routeName);
          },
        ),
        ATHIconButton(
          iconPath: 'assets/icons/icon_setting.svg',
          press: () {
            ATHNavigator.pushFromRight(context, ATHSettingScreen.routeName);
          },
        ),
      ]),
      body: ATHMimeBody(),
    );
  }
}
